import { Service } from 'egg';

export class BaseService<
    model = any
    > extends Service {
    constructor(ctx) {
        super(ctx);
    }

    /** request contexxt */
    protected dao: model;

    async test1() {
        console.log('BaseService fn ==> test1');
        console.log(this.dao);
        return this.dao;
    }
}
